package cn.biplam.front.component.view.systemManage.sysprivi.privilege;

import cn.biplam.common.ajxcode.SystemCode.PriviCode;
import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.front.component.AjxResponse;
import cn.biplam.front.component.view.systemManage.sysprivi.privilege.manage.PriviManageMain;
import cn.biplam.front.html.base.HtmlWindow;

/**
 *  权限管理
 * @author XiaoRuxing Nov 2, 20093:32:40 PM
 * @version 1.0
 */
public class PriviManage extends AjxResponse{

	/** 权限管理主页面 */
	public static final String Main = PriviCode.Main;
	
	@Override
	protected HtmlWindow ajxGet() throws ErrorMessage {
		if(actionId.equals(PriviCode.Main)){
			return new PriviManageMain(mUser,sHomeUrl,recordId,params).get();
		}else{
			throw new ErrorMessage("Ajx Exchange outport not found:" + actionId	+ " !");
		}
	}

}
